home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wtek0693.zip / OOPALLEY.ZIP / ASSOC.H < prev    next >
C/C++ Source or Header  |  1993-04-27  |  704b  |  25 lines

  1. #ifndef ASSOC_H
  2. #define ASSOC_H
  3.  
  4. #include "lookupke.h"
  5.  
  6. extern const Class class_Assoc;
  7.  
  8. ////////////////////////////////////////////////////////////
  9. // class Assoc (declaration)
  10. ////////////////////////////////////////////////////////////
  11. class Assoc: public LookupKey {
  12.     Object* avalue;
  13. public:
  14.             // constructors, destructors
  15.             Assoc(const Object& newKey =*nil, const Object& newValue =*nil);
  16.  
  17.     virtual void            deepenShallowCopy();
  18.     virtual const Class*    isA() const;
  19.     virtual void            printOn(ostream& strm) const;
  20.     virtual Object*         value() const;
  21.     virtual Object*         value(const Object& newvalue);
  22. };
  23.  
  24. #endif
  25.